package com.min.star.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.min.star.model.Grade;

@Mapper
public interface GradeMapper extends BaseMapper<Grade>{

	Page<Grade> findPage(@Param("page") Page<Grade> page, @Param("grade") Grade grade);

	Grade findById(Long id);

}
